package com.bsierp.business.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Employee entity. @author MyEclipse Persistence Tools
 */

public class Employee implements java.io.Serializable {

    // Fields

    private Integer employeeId;
    private HireType hireType;
    private Profession profession;
    private Department department;
    private User user;
    private NativePlace nativePlace;
    private Position position;
    private EmployeeState employeeState;
    private Education education;
    private Bank bank;
    private String employeeName;
    private Integer employeeGender;
    private String employeeBirthday;
    private Integer employeeAge;
    private Integer employeeMerriage;
    private String employeePhone;
    private String employeeAddress;
    private String employeePhoto;
    private Integer employeeNumber;
    private String employeeBankaccount;
    private String employeeHiredate;
    private String employeePassword;
    private String employeeIdcard;
    private Double employeeBasepay;
    private Double employeeEndowmentI;
    private Double employeeMedicalI;
    private Double employeeSuspensionofworkI;
    private Double employeeMaternityI;
    private Double employeeInjuryI;
    private Double employeeAccumulationfund;
    private Set salaries = new HashSet(0);
    private Set processHistories = new HashSet(0);
    private Set processes = new HashSet(0);

    // Constructors

    /** default constructor */
    public Employee() {
    }

    /** minimal constructor */
    public Employee(HireType hireType, Profession profession,
            Department department, User user, NativePlace nativePlace,
            Position position, EmployeeState employeeState,
            Education education, Bank bank, String employeeName,
            Integer employeeGender, String employeeBirthday,
            Integer employeeAge, Integer employeeMerriage,
            String employeePhone, String employeePhoto, Integer employeeNumber,
            String employeeBankaccount, String employeeHiredate,
            Double employeeBasepay, Double employeeEndowmentI,
            Double employeeMedicalI, Double employeeSuspensionofworkI,
            Double employeeMaternityI, Double employeeInjuryI,
            Double employeeAccumulationfund) {
        this.hireType = hireType;
        this.profession = profession;
        this.department = department;
        this.user = user;
        this.nativePlace = nativePlace;
        this.position = position;
        this.employeeState = employeeState;
        this.education = education;
        this.bank = bank;
        this.employeeName = employeeName;
        this.employeeGender = employeeGender;
        this.employeeBirthday = employeeBirthday;
        this.employeeAge = employeeAge;
        this.employeeMerriage = employeeMerriage;
        this.employeePhone = employeePhone;
        this.employeePhoto = employeePhoto;
        this.employeeNumber = employeeNumber;
        this.employeeBankaccount = employeeBankaccount;
        this.employeeHiredate = employeeHiredate;
        this.employeeBasepay = employeeBasepay;
        this.employeeEndowmentI = employeeEndowmentI;
        this.employeeMedicalI = employeeMedicalI;
        this.employeeSuspensionofworkI = employeeSuspensionofworkI;
        this.employeeMaternityI = employeeMaternityI;
        this.employeeInjuryI = employeeInjuryI;
        this.employeeAccumulationfund = employeeAccumulationfund;
    }

    /** full constructor */
    public Employee(HireType hireType, Profession profession,
            Department department, User user, NativePlace nativePlace,
            Position position, EmployeeState employeeState,
            Education education, Bank bank, String employeeName,
            Integer employeeGender, String employeeBirthday,
            Integer employeeAge, Integer employeeMerriage,
            String employeePhone, String employeeAddress, String employeePhoto,
            Integer employeeNumber, String employeeBankaccount,
            String employeeHiredate, String employeePassword,
            String employeeIdcard, Double employeeBasepay,
            Double employeeEndowmentI, Double employeeMedicalI,
            Double employeeSuspensionofworkI, Double employeeMaternityI,
            Double employeeInjuryI, Double employeeAccumulationfund,
            Set salaries, Set processHistories, Set processes) {
        this.hireType = hireType;
        this.profession = profession;
        this.department = department;
        this.user = user;
        this.nativePlace = nativePlace;
        this.position = position;
        this.employeeState = employeeState;
        this.education = education;
        this.bank = bank;
        this.employeeName = employeeName;
        this.employeeGender = employeeGender;
        this.employeeBirthday = employeeBirthday;
        this.employeeAge = employeeAge;
        this.employeeMerriage = employeeMerriage;
        this.employeePhone = employeePhone;
        this.employeeAddress = employeeAddress;
        this.employeePhoto = employeePhoto;
        this.employeeNumber = employeeNumber;
        this.employeeBankaccount = employeeBankaccount;
        this.employeeHiredate = employeeHiredate;
        this.employeePassword = employeePassword;
        this.employeeIdcard = employeeIdcard;
        this.employeeBasepay = employeeBasepay;
        this.employeeEndowmentI = employeeEndowmentI;
        this.employeeMedicalI = employeeMedicalI;
        this.employeeSuspensionofworkI = employeeSuspensionofworkI;
        this.employeeMaternityI = employeeMaternityI;
        this.employeeInjuryI = employeeInjuryI;
        this.employeeAccumulationfund = employeeAccumulationfund;
        this.salaries = salaries;
        this.processHistories = processHistories;
        this.processes = processes;
    }

    // Property accessors

    public Integer getEmployeeId() {
        return this.employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public HireType getHireType() {
        return this.hireType;
    }

    public void setHireType(HireType hireType) {
        this.hireType = hireType;
    }

    public Profession getProfession() {
        return this.profession;
    }

    public void setProfession(Profession profession) {
        this.profession = profession;
    }

    public Department getDepartment() {
        return this.department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public User getUser() {
        return this.user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public NativePlace getNativePlace() {
        return this.nativePlace;
    }

    public void setNativePlace(NativePlace nativePlace) {
        this.nativePlace = nativePlace;
    }

    public Position getPosition() {
        return this.position;
    }

    public void setPosition(Position position) {
        this.position = position;
    }

    public EmployeeState getEmployeeState() {
        return this.employeeState;
    }

    public void setEmployeeState(EmployeeState employeeState) {
        this.employeeState = employeeState;
    }

    public Education getEducation() {
        return this.education;
    }

    public void setEducation(Education education) {
        this.education = education;
    }

    public Bank getBank() {
        return this.bank;
    }

    public void setBank(Bank bank) {
        this.bank = bank;
    }

    public String getEmployeeName() {
        return this.employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName;
    }

    public Integer getEmployeeGender() {
        return this.employeeGender;
    }

    public void setEmployeeGender(Integer employeeGender) {
        this.employeeGender = employeeGender;
    }

    public String getEmployeeBirthday() {
        return this.employeeBirthday;
    }

    public void setEmployeeBirthday(String employeeBirthday) {
        this.employeeBirthday = employeeBirthday;
    }

    public Integer getEmployeeAge() {
        return this.employeeAge;
    }

    public void setEmployeeAge(Integer employeeAge) {
        this.employeeAge = employeeAge;
    }

    public Integer getEmployeeMerriage() {
        return this.employeeMerriage;
    }

    public void setEmployeeMerriage(Integer employeeMerriage) {
        this.employeeMerriage = employeeMerriage;
    }

    public String getEmployeePhone() {
        return this.employeePhone;
    }

    public void setEmployeePhone(String employeePhone) {
        this.employeePhone = employeePhone;
    }

    public String getEmployeeAddress() {
        return this.employeeAddress;
    }

    public void setEmployeeAddress(String employeeAddress) {
        this.employeeAddress = employeeAddress;
    }

    public String getEmployeePhoto() {
        return this.employeePhoto;
    }

    public void setEmployeePhoto(String employeePhoto) {
        this.employeePhoto = employeePhoto;
    }

    public Integer getEmployeeNumber() {
        return this.employeeNumber;
    }

    public void setEmployeeNumber(Integer employeeNumber) {
        this.employeeNumber = employeeNumber;
    }

    public String getEmployeeBankaccount() {
        return this.employeeBankaccount;
    }

    public void setEmployeeBankaccount(String employeeBankaccount) {
        this.employeeBankaccount = employeeBankaccount;
    }

    public String getEmployeeHiredate() {
        return this.employeeHiredate;
    }

    public void setEmployeeHiredate(String employeeHiredate) {
        this.employeeHiredate = employeeHiredate;
    }

    public String getEmployeePassword() {
        return this.employeePassword;
    }

    public void setEmployeePassword(String employeePassword) {
        this.employeePassword = employeePassword;
    }

    public String getEmployeeIdcard() {
        return this.employeeIdcard;
    }

    public void setEmployeeIdcard(String employeeIdcard) {
        this.employeeIdcard = employeeIdcard;
    }

    public Double getEmployeeBasepay() {
        return this.employeeBasepay;
    }

    public void setEmployeeBasepay(Double employeeBasepay) {
        this.employeeBasepay = employeeBasepay;
    }

    public Double getEmployeeEndowmentI() {
        return this.employeeEndowmentI;
    }

    public void setEmployeeEndowmentI(Double employeeEndowmentI) {
        this.employeeEndowmentI = employeeEndowmentI;
    }

    public Double getEmployeeMedicalI() {
        return this.employeeMedicalI;
    }

    public void setEmployeeMedicalI(Double employeeMedicalI) {
        this.employeeMedicalI = employeeMedicalI;
    }

    public Double getEmployeeSuspensionofworkI() {
        return this.employeeSuspensionofworkI;
    }

    public void setEmployeeSuspensionofworkI(Double employeeSuspensionofworkI) {
        this.employeeSuspensionofworkI = employeeSuspensionofworkI;
    }

    public Double getEmployeeMaternityI() {
        return this.employeeMaternityI;
    }

    public void setEmployeeMaternityI(Double employeeMaternityI) {
        this.employeeMaternityI = employeeMaternityI;
    }

    public Double getEmployeeInjuryI() {
        return this.employeeInjuryI;
    }

    public void setEmployeeInjuryI(Double employeeInjuryI) {
        this.employeeInjuryI = employeeInjuryI;
    }

    public Double getEmployeeAccumulationfund() {
        return this.employeeAccumulationfund;
    }

    public void setEmployeeAccumulationfund(Double employeeAccumulationfund) {
        this.employeeAccumulationfund = employeeAccumulationfund;
    }

    public Set getSalaries() {
        return this.salaries;
    }

    public void setSalaries(Set salaries) {
        this.salaries = salaries;
    }

    public Set getProcessHistories() {
        return this.processHistories;
    }

    public void setProcessHistories(Set processHistories) {
        this.processHistories = processHistories;
    }

    public Set getProcesses() {
        return this.processes;
    }

    public void setProcesses(Set processes) {
        this.processes = processes;
    }

}